/*
 *   Copyright (C) Key Bridge Global LLC and/or its affiliates.
 *
 *   This program is free software: you can redistribute it and/or modify
 *   it under the terms of the GNU General Public License as published by
 *   the Free Software Foundation, either version 3 of the License, or
 *   (at your option) any later version.
 *
 *   This program is distributed in the hope that it will be useful,
 *   but WITHOUT ANY WARRANTY; without even the implied warranty of
 *   MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE.  See the
 *   GNU General Public License for more details.
 *
 *   You should have received a copy of the GNU General Public License
 *   along with this program.  If not, see <http://www.gnu.org/licenses/>.
 */
package com.keybridgeglobal.wsif.enumerated;

import javax.xml.bind.annotation.XmlEnum;
import javax.xml.bind.annotation.XmlEnumValue;
import javax.xml.bind.annotation.XmlType;

/**
 * <p>Java class for enumChannelUS.
 * <p/>
 * <p>The following schema fragment specifies the expected content contained
 * within this class. <p>
 * <pre>
 * &lt;simpleType name="enumChannelUS">
 *   &lt;restriction base="{http://www.w3.org/2001/XMLSchema}string">
 *     &lt;enumeration value="VHF2"/>
 *     &lt;enumeration value="VHF3"/>
 *     &lt;enumeration value="VHF4"/>
 *     &lt;enumeration value="VHF5"/>
 *     &lt;enumeration value="VHF6"/>
 *     &lt;enumeration value="VHF7"/>
 *     &lt;enumeration value="VHF8"/>
 *     &lt;enumeration value="VHF9"/>
 *     &lt;enumeration value="VHF10"/>
 *     &lt;enumeration value="VHF11"/>
 *     &lt;enumeration value="VHF12"/>
 *     &lt;enumeration value="VHF13"/>
 *     &lt;enumeration value="UHF14"/>
 *     &lt;enumeration value="UHF15"/>
 *     &lt;enumeration value="UHF16"/>
 *     &lt;enumeration value="UHF17"/>
 *     &lt;enumeration value="UHF18"/>
 *     &lt;enumeration value="UHF19"/>
 *     &lt;enumeration value="UHF20"/>
 *     &lt;enumeration value="UHF21"/>
 *     &lt;enumeration value="UHF22"/>
 *     &lt;enumeration value="UHF23"/>
 *     &lt;enumeration value="UHF24"/>
 *     &lt;enumeration value="UHF25"/>
 *     &lt;enumeration value="UHF26"/>
 *     &lt;enumeration value="UHF27"/>
 *     &lt;enumeration value="UHF28"/>
 *     &lt;enumeration value="UHF29"/>
 *     &lt;enumeration value="UHF30"/>
 *     &lt;enumeration value="UHF31"/>
 *     &lt;enumeration value="UHF32"/>
 *     &lt;enumeration value="UHF33"/>
 *     &lt;enumeration value="UHF34"/>
 *     &lt;enumeration value="UHF35"/>
 *     &lt;enumeration value="UHF36"/>
 *     &lt;enumeration value="UHF37"/>
 *     &lt;enumeration value="UHF38"/>
 *     &lt;enumeration value="UHF39"/>
 *     &lt;enumeration value="UHF40"/>
 *     &lt;enumeration value="UHF41"/>
 *     &lt;enumeration value="UHF42"/>
 *     &lt;enumeration value="UHF43"/>
 *     &lt;enumeration value="UHF44"/>
 *     &lt;enumeration value="UHF45"/>
 *     &lt;enumeration value="UHF46"/>
 *     &lt;enumeration value="UHF47"/>
 *     &lt;enumeration value="UHF48"/>
 *     &lt;enumeration value="UHF49"/>
 *     &lt;enumeration value="UHF50"/>
 *     &lt;enumeration value="UHF51"/>
 *   &lt;/restriction>
 * &lt;/simpleType>
 * </pre>
 * <p/>
 */
@XmlType(name = "enumChannelUS")
@XmlEnum
public enum EnumChannelUS {

  @XmlEnumValue("VHF2")
  VHF_2("VHF2"),
  @XmlEnumValue("VHF3")
  VHF_3("VHF3"),
  @XmlEnumValue("VHF4")
  VHF_4("VHF4"),
  @XmlEnumValue("VHF5")
  VHF_5("VHF5"),
  @XmlEnumValue("VHF6")
  VHF_6("VHF6"),
  @XmlEnumValue("VHF7")
  VHF_7("VHF7"),
  @XmlEnumValue("VHF8")
  VHF_8("VHF8"),
  @XmlEnumValue("VHF9")
  VHF_9("VHF9"),
  @XmlEnumValue("VHF10")
  VHF_10("VHF10"),
  @XmlEnumValue("VHF11")
  VHF_11("VHF11"),
  @XmlEnumValue("VHF12")
  VHF_12("VHF12"),
  @XmlEnumValue("VHF13")
  VHF_13("VHF13"),
  @XmlEnumValue("UHF14")
  UHF_14("UHF14"),
  @XmlEnumValue("UHF15")
  UHF_15("UHF15"),
  @XmlEnumValue("UHF16")
  UHF_16("UHF16"),
  @XmlEnumValue("UHF17")
  UHF_17("UHF17"),
  @XmlEnumValue("UHF18")
  UHF_18("UHF18"),
  @XmlEnumValue("UHF19")
  UHF_19("UHF19"),
  @XmlEnumValue("UHF20")
  UHF_20("UHF20"),
  @XmlEnumValue("UHF21")
  UHF_21("UHF21"),
  @XmlEnumValue("UHF22")
  UHF_22("UHF22"),
  @XmlEnumValue("UHF23")
  UHF_23("UHF23"),
  @XmlEnumValue("UHF24")
  UHF_24("UHF24"),
  @XmlEnumValue("UHF25")
  UHF_25("UHF25"),
  @XmlEnumValue("UHF26")
  UHF_26("UHF26"),
  @XmlEnumValue("UHF27")
  UHF_27("UHF27"),
  @XmlEnumValue("UHF28")
  UHF_28("UHF28"),
  @XmlEnumValue("UHF29")
  UHF_29("UHF29"),
  @XmlEnumValue("UHF30")
  UHF_30("UHF30"),
  @XmlEnumValue("UHF31")
  UHF_31("UHF31"),
  @XmlEnumValue("UHF32")
  UHF_32("UHF32"),
  @XmlEnumValue("UHF33")
  UHF_33("UHF33"),
  @XmlEnumValue("UHF34")
  UHF_34("UHF34"),
  @XmlEnumValue("UHF35")
  UHF_35("UHF35"),
  @XmlEnumValue("UHF36")
  UHF_36("UHF36"),
  @XmlEnumValue("UHF37")
  UHF_37("UHF37"),
  @XmlEnumValue("UHF38")
  UHF_38("UHF38"),
  @XmlEnumValue("UHF39")
  UHF_39("UHF39"),
  @XmlEnumValue("UHF40")
  UHF_40("UHF40"),
  @XmlEnumValue("UHF41")
  UHF_41("UHF41"),
  @XmlEnumValue("UHF42")
  UHF_42("UHF42"),
  @XmlEnumValue("UHF43")
  UHF_43("UHF43"),
  @XmlEnumValue("UHF44")
  UHF_44("UHF44"),
  @XmlEnumValue("UHF45")
  UHF_45("UHF45"),
  @XmlEnumValue("UHF46")
  UHF_46("UHF46"),
  @XmlEnumValue("UHF47")
  UHF_47("UHF47"),
  @XmlEnumValue("UHF48")
  UHF_48("UHF48"),
  @XmlEnumValue("UHF49")
  UHF_49("UHF49"),
  @XmlEnumValue("UHF50")
  UHF_50("UHF50"),
  @XmlEnumValue("UHF51")
  UHF_51("UHF51");
  private final String value;

  EnumChannelUS(String v) {
    value = v;
  }

  public String value() {
    return value;
  }

  public static EnumChannelUS fromValue(String v) {
    for (EnumChannelUS c : EnumChannelUS.values()) {
      if (c.value.equals(v)) {
        return c;
      }
    }
    throw new IllegalArgumentException(v);
  }
}
